
package com.jsu.collegestudentadmissionsystem.dao;

import com.jsu.collegestudentadmissionsystem.pojo.vo.AdmissionInformation;
import com.jsu.collegestudentadmissionsystem.pojo.vo.CollegeMajorInformation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AcademyDao {
    void insertMajorInformation(String s, String s1, String s2,String s3);

    List<CollegeMajorInformation> queryMajorInformation();

    List<AdmissionInformation> selectiveAdmission(Integer collegeMajorId,Integer quantity);

    Integer queryAdminssionQuantity(Integer collegeMajorId);

    void updateAdmissionStatus(Integer studentId);
}

